package com.atguigu.jxc.dao;/*
 *@author 尹凯瑞
 *@date 2020/12/3 11:32
 */

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {

    List<Customer> listCustomer(int offSet, Integer rows, @Param("customerName") String customerName);

    Integer getCustomerCount(@Param("customerName") String customerName);

    void updateCustomer(Customer customer);

    void saveCustomer(Customer customer);

    void deleteCustomer(String[] split);
}
